﻿using System;
using System.Windows.Forms;

namespace SOAPClient
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            Text = "Formulaire de calcule de Somme";
            StartPosition = FormStartPosition.CenterScreen;
            so = new SOAPClient.MySoapWebService.LoginServClient();
        }

        

        private void btnValider_Click(object sender, EventArgs e)
        {
            int x = int.Parse(txtX.Text);
            int y = int.Parse(txtY.Text);
            txtSomme.Text = "" + so.Somme(x, y);
        }

        MySoapWebService.LoginServClient so;
    }
}
